package com.directv.engineertools.channelblocking

class Channel {

	String providerType = "L"
	Integer providerID
	String providerName
	Date effDate = Calendar.getInstance().getTime()
	
	static namedQueries = {
		longNames { lenth ->
			gt providerName.size(), lenth
		}
	}
	
    static constraints = {
		providerID blank:false 
		effDate nullable:true 
    }
}
